package com.educate.upms.dao;

import com.educate.upms.dao.impl.UpmsUserOrganizationDaoImpl;
import com.educate.upms.model.bo.UpmsUserOrganizationBO;
import com.educate.upms.model.po.UpmsUserOrganization;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.mongodb.repository.MongoRepository;
import org.springframework.stereotype.Repository;

@Repository
public interface UpmsUserOrganizationDao extends MongoRepository<UpmsUserOrganization, String> {

    /**
     * #{@link UpmsUserOrganizationDaoImpl#query(UpmsUserOrganizationBO, Pageable)}
     */
    Page<UpmsUserOrganization> query(UpmsUserOrganizationBO bo, Pageable pageable);
}
